package com.niuniu.rushdorm.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

@Data
@TableName(value = "orders")
public class Order {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Long uid;
    @TableField(value = "group_id")
    private Integer groupId;
    @TableField(value = "building_id")
    private Integer buildingId;
    @TableField(value = "submit_time")
    private Long submitTime;
    @TableField(value = "create_time")
    private Long createTime;
    @TableField(value = "finish_time")
    private Long finishTime;
    @TableField(value = "room_id")
    private Integer roomId;
    @TableField(value = "result_content")
    private String result;
    @TableField(value = "is_del")
    @TableLogic(value = "0", delval = "1")
    private Integer isDel;
    private Integer status;
}
